package com.chensheng.util;

import java.util.Random;

/**
 * @Author:ChenSheng
 * @Description:
 * @Date: Created in 下午 15:33 2018/5/15 0015
 */
public class KeyUtil {
    public static synchronized String genUniqueKey(){
        Random random = new Random();
        Integer number = random.nextInt(9000000) + 1000000;
        return System.currentTimeMillis() + String.valueOf(number);
    }

}
